package com.ruoyi.common.exception.backendEnum;

public enum FileUtilsException {


    FILE_RENAME_ERROR(400,"文件重命名失败"),
    FILE_EXTENSION_NOT_EXIST(400,"文件后缀不存在");

    private final int code;
    private final String message;

    FileUtilsException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
